package com.mobile.collect.beans;

import android.os.Parcel;
import android.os.Parcelable;
import android.widget.TextView;

/**
 * 类名: SealPointInfo
 * 作者: 李学伟
 * 日期: 2020年09月27日 17:40
 * 描述:
 */
public class SealPointInfo implements Parcelable {
    private int count;
    private Long point_ID;
    private String dimen;
    private String childType;
    private String childTypeEn;
    private String type;
    private String typeEn;
    private String desc;
    private String high;
    private String keepWarm;

    private SealPointInfo aboutFaLan;
    private boolean isUpdate;
    private TextView childTypeTv;
    private TextView dimenTv;
    private TextView numberTv;
    private TextView descTv;
    private TextView highTv;
    private TextView keepWarmTv;

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public String getDimen() {
        return dimen;
    }

    public void setDimen(String dimen) {
        this.dimen = dimen;
    }

    public String getChildType() {
        return childType;
    }

    public void setChildType(String childType) {
        this.childType = childType;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getChildTypeEn() {
        return childTypeEn;
    }

    public void setChildTypeEn(String childTypeEn) {
        this.childTypeEn = childTypeEn;
    }

    public String getTypeEn() {
        return typeEn;
    }

    public void setTypeEn(String typeEn) {
        this.typeEn = typeEn;
    }

    public boolean isUpdate() {
        return isUpdate;
    }

    public void setUpdate(boolean update) {
        isUpdate = update;
    }

    public SealPointInfo() {
    }

    public SealPointInfo getAboutFaLan() {
        return aboutFaLan;
    }

    public void setAboutFaLan(SealPointInfo aboutFaLan) {
        this.aboutFaLan = aboutFaLan;
    }

    public TextView getChildTypeTv() {
        return childTypeTv;
    }

    public void setChildTypeTv(TextView typeTv) {
        this.childTypeTv = typeTv;
    }

    public TextView getDimenTv() {
        return dimenTv;
    }

    public void setDimenTv(TextView dimenTv) {
        this.dimenTv = dimenTv;
    }

    public TextView getNumberTv() {
        return numberTv;
    }

    public void setNumberTv(TextView numberTv) {
        this.numberTv = numberTv;
    }

    public TextView getDescTv() {
        return descTv;
    }

    public void setDescTv(TextView descTv) {
        this.descTv = descTv;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public TextView getHighTv() {
        return highTv;
    }

    public void setHighTv(TextView highTv) {
        this.highTv = highTv;
    }

    public TextView getKeepWarmTv() {
        return keepWarmTv;
    }

    public void setKeepWarmTv(TextView keepWarmTv) {
        this.keepWarmTv = keepWarmTv;
    }

    public Long getPoint_ID() {
        return point_ID;
    }

    public void setPoint_ID(Long point_ID) {
        this.point_ID = point_ID;
    }

    public String getHigh() {
        return high;
    }

    public void setHigh(String high) {
        this.high = high;
    }

    public String getKeepWarm() {
        return keepWarm;
    }

    public void setKeepWarm(String keepWarm) {
        this.keepWarm = keepWarm;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeInt(this.count);
        dest.writeString(this.dimen);
        dest.writeString(this.childType);
        dest.writeString(this.childTypeEn);
        dest.writeString(this.type);
        dest.writeString(this.typeEn);
        dest.writeString(this.desc);
        dest.writeString(this.keepWarm);
        dest.writeString(this.high);
        dest.writeParcelable(this.aboutFaLan, flags);
        dest.writeByte(this.isUpdate ? (byte) 1 : (byte) 0);
    }

    protected SealPointInfo(Parcel in) {
        this.count = in.readInt();
        this.dimen = in.readString();
        this.childType = in.readString();
        this.childTypeEn = in.readString();
        this.type = in.readString();
        this.typeEn = in.readString();
        this.desc = in.readString();
        this.keepWarm = in.readString();
        this.high = in.readString();
        this.aboutFaLan = in.readParcelable(SealPointInfo.class.getClassLoader());
        this.isUpdate = in.readByte() != 0;
    }

    public static final Parcelable.Creator<SealPointInfo> CREATOR = new Parcelable.Creator<SealPointInfo>() {
        @Override
        public SealPointInfo createFromParcel(Parcel source) {
            return new SealPointInfo(source);
        }

        @Override
        public SealPointInfo[] newArray(int size) {
            return new SealPointInfo[size];
        }
    };
}
